
from amplitude.dict import Dict
import pymongo
    
def MongoDB(dbname, **connection_args):
    """a Mongo database object."""
    connection = pymongo.Connection(**connection_args)
    db = connection[dbname]
    return db

